package ae.pcfc.cldos.online.common.delegate.provider;

import ae.pcfc.cldos.online.common.ConstantsCommon.Steps;
import ae.pcfc.cldos.online.common.delegate.BaseDelegate;
import ae.pcfc.cldos.online.common.delegate.VisitVisaCancelDelegate;
import ae.pcfc.cldos.online.common.exception.BadAppException;
import ae.pcfc.cldos.online.common.facade.VisitVisaCancelFacade;
import ae.pcfc.cldos.online.common.vo.AppSaveResponseVO;
import ae.pcfc.cldos.online.common.vo.UserVO;
import ae.pcfc.cldos.online.common.vo.vv.cancel.VisitVisaCancelVO;

/**
 * 
 * @author arosa
 *
 */
public class VisitVisaCancelDelegateImpl extends BaseDelegate implements VisitVisaCancelDelegate {

	public VisitVisaCancelVO getEmploymentVisaCancelationAppInfo(String appId, UserVO userVO, Steps step) throws BadAppException{
		return getServiceLocator().getFacadeService(VisitVisaCancelFacade.class).getEmploymentVisaCancelationAppInfo(appId, userVO, step);
	}
	public AppSaveResponseVO submit(VisitVisaCancelVO visitVisaCancelVO) throws Exception{
		return getServiceLocator().getFacadeService(VisitVisaCancelFacade.class).submit(visitVisaCancelVO);
	}
	public AppSaveResponseVO reSubmit(VisitVisaCancelVO visitVisaCancelVO, String appId) throws Exception{
		return getServiceLocator().getFacadeService(VisitVisaCancelFacade.class).reSubmit(visitVisaCancelVO, appId);
	}
}
